package com.example.yaja.yaja.service;

import com.example.yaja.yaja.entity.User;

/**
 * Created by Zero on 2017/12/4.
 */
public interface UserService {


    User findUserByUsername(String username);
    int addUser(User user);
    User findUserById(Integer userId);

    int updateUserState(Integer userId,Integer state);


}
